<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>成绩查询</title>
    <link rel="stylesheet" type="text/css" href="./css/login.css">
    <link rel="stylesheet" type="text/css" href="./css/table.css">
</head>
<style>
    body{
        background: url('./img/loginbg.jpg') top left;
        background-size: 100%;
    }
</style>
<body>
<div align="center">
<table border="1" cellpadding="0" width="80%">
    <tr>
        <th>序号</th>
        <th>课程名</th>
        <th>上课教师</th>
        <th>已选人数</th>
        <th>限选人数</th>
        <th>学分</th>
        <th>总学时</th>
        <th>课程属性</th>
        <th>成绩</th>
    </tr>

    <c:forEach items="${courses}" var="course" varStatus="status">
        <tr align="center">
            <td>${status.count}</td>
            <td>${course.name}</td>
            <td>${course.t_name}</td>
            <td>${course.selected}</td>
            <td>${course.totalnum}</td>
            <td>${course.credit}</td>
            <td>${course.class_hours}</td>
            <td>${course.sort}</td>
            <td>${course.cscore}</td>
        </tr>
    </c:forEach>
</table>
</div>
</body>
</html>
